//
//  BookModel.m
//  CoreDataDemo
//
//  Created by liuxiang on 2018/1/6.
//  Copyright © 2018年 liuxiang. All rights reserved.
//

#import "BookModel.h"

@implementation BookModel

WCDB_IMPLEMENTATION(BookModel)

WCDB_SYNTHESIZE(BookModel, bookId)
WCDB_SYNTHESIZE(BookModel, bookISBN)
WCDB_SYNTHESIZE(BookModel, bookName)
WCDB_SYNTHESIZE(BookModel, bookPrice)
WCDB_SYNTHESIZE(BookModel, bookAuthor)
WCDB_SYNTHESIZE(BookModel, bookNum)
WCDB_SYNTHESIZE(BookModel, bookPub)
WCDB_SYNTHESIZE(BookModel, bookPubTime)
WCDB_SYNTHESIZE(BookModel, bookPhoto)
WCDB_SYNTHESIZE(BookModel, bookDescribe)
WCDB_SYNTHESIZE(BookModel, bookPage)
WCDB_SYNTHESIZE(BookModel, bookSale)
WCDB_SYNTHESIZE(BookModel, bookHits)
WCDB_SYNTHESIZE(BookModel, bookStorageTime)
WCDB_SYNTHESIZE(BookModel, bookShowIndex)
WCDB_SYNTHESIZE(BookModel, bookOther)
WCDB_SYNTHESIZE(BookModel, childTypeId)
WCDB_PRIMARY(BookModel, bookId)
WCDB_INDEX(BookModel, "_index", bookPubTime)

@end


